package com.gxa.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;

public class Notice {

  private Integer noticeId;
  private String publishTitle;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Timestamp publishTime;
  private String publishName;
  private String publishContent;
  private Integer deptId;
  private Dept dept;
  private Integer noticeStatus;

  public Integer getNoticeStatus() {
    return noticeStatus;
  }

  public void setNoticeStatus(Integer noticeStatus) {
    this.noticeStatus = noticeStatus;
  }

  public Dept getDept() {
    return dept;
  }

  public void setDept(Dept dept) {
    this.dept = dept;
  }

  public Integer getNoticeId() {
    return noticeId;
  }

  public void setNoticeId(Integer noticeId) {
    this.noticeId = noticeId;
  }

  public String getPublishTitle() {
    return publishTitle;
  }

  public void setPublishTitle(String publishTitle) {
    this.publishTitle = publishTitle;
  }

  public Timestamp getPublishTime() {
    return publishTime;
  }

  public void setPublishTime(Timestamp publishTime) {
    this.publishTime = publishTime;
  }

  public String getPublishName() {
    return publishName;
  }

  public void setPublishName(String publishName) {
    this.publishName = publishName;
  }

  public String getPublishContent() {
    return publishContent;
  }

  public void setPublishContent(String publishContent) {
    this.publishContent = publishContent;
  }

  public Integer getDeptId() {
    return deptId;
  }

  public void setDeptId(Integer deptId) {
    this.deptId = deptId;
  }

  @Override
  public String toString() {
    return "Notice{" +
            "noticeId=" + noticeId +
            ", publishTitle='" + publishTitle + '\'' +
            ", publishTime=" + publishTime +
            ", publishName='" + publishName + '\'' +
            ", publishContent='" + publishContent + '\'' +
            ", deptId=" + deptId +
            '}';
  }
}
